package net.lzzy.practices.constants;
/**
 *@author hzl on 2022/5/12.
 *Description:
 */
public enum Messages {
    SUCCESS("操作成功"),
    WRONG_PASSWORD("错误的用户名或密码"),
    WRONG_ID("错误的id"),
    RELATED_DATA("不对"),
    USER_FORBIDDEN("你已经被禁止登入"),
    INCOMPLETE_INFO("信息不完整"),
    NO_PERMISSION("没有操作权限");
    private final String name;
    Messages(String name){
        this.name=name;
    }
    @Override
    public String toString(){
        return name;
    }
}
